package cn.zmlio.staffstory;

import lombok.Data;

import java.util.Random;

@Data
public class Human {

    private String username;

    private String age;

    private boolean male;

    private String telephone;

    /**
     * HR技能，邀请人来面试
     *
     * @return
     */
    public Human invite() {
        return new Human();
    }

    /**
     * 工程师对候选人进行技能评估
     *
     * @param human
     * @return
     */
    public double testSkills(Human human) {
        return new Random().nextDouble();
    }

    /**
     * 面试人员回答问题
     *
     * @return
     */
    public double answerQuestion() {
        return new Random().nextDouble();
    }
}
